package com.flame.system.tools.mapper;

import com.flame.system.tools.controller.vo.ServerVo;
import com.flame.system.tools.entity.Server;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * flame_monitor_server 主机信息表
 *
 * @author 吴欣童
 * @since 2022-11-24 21:48:13
 */
@Mapper
public interface ServerMapper {

    List<Server> page(ServerVo serverVo);

    void insert(Server server);

    void updateById(Server server);

    void deleteById(@Param("serverName") String serverName);

    Server selectById(@Param("serverName") String serverName);
}